projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aece3e
)
Fix --enable-profiling builds (bug#34099)
author
Glenn Morris
<rgm@gnu.org>
Thu, 17 Jan 2019 12:19:45 +0000
(07:19 -0500)
committer
Glenn Morris
<rgm@gnu.org>
Thu, 17 Jan 2019 12:19:45 +0000
(07:19 -0500)
* src/profiler.c (syms_of_profiler_for_pdumper):
Only set cpu_log if CPU profiling is enabled.
src/profiler.c
patch
|
blob
|
history
diff --git
a/src/profiler.c
b/src/profiler.c
index a98d967b2a1d4c9e36903234e59d6bf21610a839..15a0eef0d3e0e2081411995f9db8d8a72c8dfacc 100644
(file)
--- a/
src/profiler.c
+++ b/
src/profiler.c
@@
-627,12
+627,16
@@
syms_of_profiler_for_pdumper (void)
{
if (dumped_with_pdumper_p ())
{
+#ifdef PROFILER_CPU_SUPPORT
cpu_log = Qnil;
+#endif
memory_log = Qnil;
}
else
{
+#ifdef PROFILER_CPU_SUPPORT
eassert (NILP (cpu_log));
+#endif
eassert (NILP (memory_log));
}